package com.example.servicerepository.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("repository")
public class RepositoryController {

    @GetMapping("/reduce")
    public String reduce(int uid, int goodsId, int amount) {
        return "减库存完成"+uid+goodsId+amount;
    }

}
